<div class="device">
	<div class="right-content">
		<!-- top -->
		<div class="right-top">
			<span class="top-color-blue" ui-sref="main.device">设备列表</span>
		</div>
		<!-- middle -->
		<div class="right-middle container-fluid">
			<div class="row">
				<select ng-model="searchData.key" class="col-sm-2 swi-ML25 swi-select">
					<option value="simNo">sim卡号</option>
					<option value="IMEI">机器IMEI号</option>
					<option value="deviceStatus">设备状态</option>
					<option value="rightStatus">设备权限状态</option>
				</select>
				<input type="text" class="col-sm-3 swi-input swi-search-input swi-MR0" ng-model="searchData.value" placeholder="sim卡号/机器IMEI号/设备状态/设备权限状态"/>
				<button ng-click="pharmacistSearch();" class="col-sm-2 swi-btn swi-btn-bgcolor-blue pull-right">查询</button>
			</div>
		</div>
		<!-- bottom -->
		<div class="right-middle container-fluid">
			<div class="row">
				<span class="col-sm-2 swi-span-logo"></span>
				<span class="col-sm-8 swi-span-title">设备列表</span>
				<button ui-sref="main.addDevice" class="col-sm-2 swi-btn swi-btn-bgcolor-blue pull-right">新增</button>
			</div>

			<!-- table -->
			<div class="container-fluid swi-table" ng-if="conf.total>0">
				<div class="row row-eq-height">
					<div ng-repeat="itemHead in tableConf.tableHead" class="swi-thead col-md-{{itemHead.width}}" ng-bind="itemHead.name"></div>
				</div>
				<div class="row row-eq-height" ng-repeat="itemTrs in tableConf.tableTr track by $index">
					<div class="flex1 swi-tr col-md-{{tableConf.tableHead[0].width}}" ng-bind="$index+1"></div>
					<div class="flex1 swi-tr col-md-{{tableConf.tableHead[1].width}}" ng-bind="itemTrs.sim_no"></div>
					<div class="flex1 swi-tr col-md-{{tableConf.tableHead[2].width}}" ng-bind="itemTrs.imei"></div>
					<div class="flex1 swi-tr col-md-{{tableConf.tableHead[3].width}}" ng-bind="itemTrs.device_status"></div>
					<div class="flex1 swi-tr col-md-{{tableConf.tableHead[4].width}}" ng-bind="itemTrs.right_status"></div>
					<div class="flex1 swi-tr col-md-{{tableConf.tableHead[5].width}}" ng-bind="itemTrs.location"></div>
					<div class="flex1 swi-tr col-md-{{tableConf.tableHead[6].width}}">
						<a ui-sref="main.deviceDetail({id:itemTrs.id})">编辑</a>
						<a href ng-click="delDev(itemTrs.id)">删除</a>
					</div>
				</div>
			</div>
			<!-- 表格无数据 -->
			<div class="container-fluid swi-table" ng-if="conf.total==0">
				<div class="row">
					<div class="swi-noMore col-md-12">暂无数据！</div>
				</div>
			</div>
			<!-- <div class="pull-right" style="margin-right:50px;" ng-if="conf.total>0">总计：{{conf.total}}人</div> -->
		</div>
		<!-- 分页 -->
		<div  ui-pagination conf="conf"></div>
	</div>
	<!-- 弹窗 -->
	<div growl></div>
</div>